package com.gz;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.transaction.annotation.EnableTransactionManagement;


@MapperScan("com.gz.dao")
@SpringBootApplication
@EnableTransactionManagement(proxyTargetClass = true)
@EnableAspectJAutoProxy
public class StudyMapApplication
//        extends SpringBootServletInitializer
{

//    @Override
//    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder)
//    {
//        return builder.sources(ShuidaplatformApplication.class);
//    }

    public static void main(String[] args) {
        SpringApplication.run(StudyMapApplication.class, args);
        System.out.println("启动完毕");
    }

//    @RequestMapping
//    public String hello() {
//        return "hello spring boot!";
//    }

}
